package com.nwpu.coursesupport.view;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.nwpu.coursesupport.entity.Class.ClassDate;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class SCCView {

	private int classId;
	private String className;
	private Integer hasTheory;
    @JsonIgnore
    private String theoryDateBytes;
    private ClassDate theoryDate;
    private Integer hasLab;
    @JsonIgnore
    private String labDateBytes;
    private ClassDate labDate;
	
	
	private int courseId;
	private String courseCode;
	private String courseName;
	private int courseHour;
	private double credit;
	private int sumWeeks;
	private String image;
	private String description;
	
	private int tid;
	private String tname;
	private String temail;
	
	private String ttelphone;
	
	public int getClassId() {
		return classId;
	}
	public void setClassId(int classId) {
		this.classId = classId;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public int getCourseId() {
		return courseId;
	}
	public void setCourseId(int courseId) {
		this.courseId = courseId;
	}
	public String getCourseCode() {
		return courseCode;
	}
	public void setCourseCode(String courseCode) {
		this.courseCode = courseCode;
	}
	public String getCourseName() {
		return courseName;
	}
	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}
	public int getCourseHour() {
		return courseHour;
	}
	public void setCourseHour(int courseHour) {
		this.courseHour = courseHour;
	}
	public double getCredit() {
		return credit;
	}
	public void setCredit(double credit) {
		this.credit = credit;
	}
	public int getSumWeeks() {
		return sumWeeks;
	}
	public void setSumWeeks(int sumWeeks) {
		this.sumWeeks = sumWeeks;
	}
	public int getTid() {
		return tid;
	}
	public void setTid(int tid) {
		this.tid = tid;
	}
	
	public String getTname() {
		return tname;
	}
	public void setTname(String tname) {
		this.tname = tname;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public Integer getHasTheory() {
		return hasTheory;
	}
	public void setHasTheory(Integer hasTheory) {
		this.hasTheory = hasTheory;
	}
	public String getTheoryDateBytes() {
		return theoryDateBytes;
	}
	public void setTheoryDateBytes(String theoryDateBytes) {
		this.theoryDateBytes = theoryDateBytes;
	}
	public ClassDate getTheoryDate() {
		return theoryDate;
	}
	public void setTheoryDate(ClassDate theoryDate) {
		this.theoryDate = theoryDate;
	}
	public Integer getHasLab() {
		return hasLab;
	}
	public void setHasLab(Integer hasLab) {
		this.hasLab = hasLab;
	}
	public String getLabDateBytes() {
		return labDateBytes;
	}
	public void setLabDateBytes(String labDateBytes) {
		this.labDateBytes = labDateBytes;
	}
	public ClassDate getLabDate() {
		return labDate;
	}
	public void setLabDate(ClassDate labDate) {
		this.labDate = labDate;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getTemail() {
		return temail;
	}
	public void setTemail(String temail) {
		this.temail = temail;
	}
	public String getTtelphone() {
		return ttelphone;
	}
	public void setTtelphone(String ttelphone) {
		this.ttelphone = ttelphone;
	}
	
}
